class FollowModel {
  FollowModel(
      {this.id,
      this.userId,
        this.fromUserId,
      this.toUserId,
      this.nickname,
        this.fromUserNickname,
      this.toUserNickname,
      this.mobile,
      this.gender,
        this.fromGender,
      this.toGender,
      this.about,
      this.visitDesc,
      this.memberLevel,
      this.headPortraitsUrl,
        this.fromUserHeadUrl,
      this.toUserHeadUrl,
      this.activeTime,
      this.visitTime});

  FollowModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userId = json['userId'];
    fromUserId = json['fromUserId'];
    toUserId = json['toUserId'];
    nickname = json['nickname'];
    fromUserNickname = json['fromUserNickname'];
    toUserNickname = json['toUserNickname'];
    mobile = json['mobile'];
    gender = json['gender'];
    fromGender = json['fromGender'];
    toGender = json['toGender'];
    about = json['about'];
    visitDesc = json['visitDesc'];
    headPortraitsUrl = json['headPortraitsUrl'];
    fromUserHeadUrl = json['fromUserHeadUrl'];
    toUserHeadUrl = json['toUserHeadUrl'];
    activeTime = json['activeTime'];
    visitTime = json['visitTime'];
  }

  int? id;
  int? userId;
  int? fromUserId;
  int? toUserId;
  String? nickname;
  String? fromUserNickname;
  String? toUserNickname;
  String? mobile;
  int? gender;
  int? fromGender;
  int? toGender;
  int? memberLevel;
  String? about;
  String? visitDesc;
  String? headPortraitsUrl;
  String? fromUserHeadUrl;
  String? toUserHeadUrl;
  String? activeTime;
  String? visitTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['userId'] = userId;
    map['fromUserId'] = fromUserId;
    map['toUserId'] = toUserId;
    map['nickname'] = nickname;
    map['fromUserNickname'] = fromUserNickname;
    map['toUserNickname'] = toUserNickname;
    map['mobile'] = mobile;
    map['gender'] = gender;
    map['fromGender'] = fromGender;
    map['toGender'] = toGender;
    map['memberLevel'] = memberLevel;
    map['about'] = about;
    map['visitDesc'] = visitDesc;
    map['headPortraitsUrl'] = headPortraitsUrl;
    map['fromUserHeadUrl'] = fromUserHeadUrl;
    map['toUserHeadUrl'] = toUserHeadUrl;
    map['activeTime'] = activeTime;
    map['visitTime'] = visitTime;
    return map;
  }
}
